import { BaseType } from '@/api/common/types'

export interface DictValueForm {
    id: number
    name: string
    dictTypeId: number
    code: string
    value: string
    description: string
    sort: number
    isEnabled: boolean
}
/**
 * 字典值类型
 */
export interface DictValueType extends DictValueForm, BaseType {}

export interface DictTypeForm {
    id: number
    name: string
    code: string
    description: string
    sort: number
    isEnabled: boolean
}
/**
 * 字典分类类型
 */
export interface DictType extends DictTypeForm, BaseType {
    dicts: DictValueType[]
}
